package com.py.credit.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.py.credit.entity.DataQualityDetailEntity;
import com.py.framework.core.common.Page;

public interface FunctionReportDao {

	List<Map<String, Object>> functionReportListByConditionForPage(@Param(value = "columns") List<String> columns,
			@Param(value = "additionalColumns") String[] additionalColumns, @Param(value = "page") Page page,
			@Param(value = "conditions") List<String> condition);

	void addFunctionReport(@Param(value = "id")String id,
			@Param(value = "dateRange")String dateRange,
			@Param(value = "fileName")String fileName, 
			@Param(value = "pdfPath")String pdfPath, 
			@Param(value = "type")String type);
	
	String getFunctionReportPath(@Param(value = "id")String id);

	void addFunctionReportDetail(@Param(value = "id")String id,@Param(value = "dataRange")String dataRange,@Param(value = "content")String content);
	
	DataQualityDetailEntity getFunctionReportDetail(@Param(value = "id")String id);
}
